<!--
<template>
  <div>
    <index-chart v-if="indexStyle==1"></index-chart>
    <index-bdc v-if="indexStyle==2"></index-bdc>
    <index-task v-if="indexStyle==3"></index-task>
    <div style="width: 100%;text-align: right;margin-top: 20px">
      请选择首页样式：
      <a-radio-group v-model="indexStyle">
        <a-radio :value="1">统计图表</a-radio>
        <a-radio :value="2">统计图表2</a-radio>
        <a-radio :value="3">任务表格</a-radio>
      </a-radio-group>
    </div>
  </div>
</template>

<script>
  import IndexChart from './IndexChart'
  import IndexTask from "./IndexTask"
  import IndexBdc from './IndexBdc'

  export default {
    name: "Analysis",
    components: {
      IndexChart,
      IndexTask,
      IndexBdc
    },
    data() {
      return {
        indexStyle:1
      }
    },
    created() {

    },
    methods: {

    }
  }
</script>-->

<template>
  <div class="jianbian">
    <!-- <el-card>

    </el-card> -->
    <router-view></router-view>
    <h1>欢迎您进入比赛计时管理系统</h1>
    <!-- 内容区域 -->
    <!-- <img src="../assets/src=http___p4.itc.cn_q_70_images01_20210506_628477c0733b44ac898ed640b2e473c1.jpeg&refer=http___p4.itc.webp" alt class="tupian-img" /> -->
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style scoped>
h1 {
  overflow: hidden;
  font-size: 80px;
  width: 0;
  height: 150px;
  line-height: 150px;
  margin: 100px auto;
  color: #fff;
  /* background: lightcoral; */
  white-space: nowrap;
  animation: w 4s steps(13) forwards;
  text-align: center;
}
@keyframes w {
  0% {
    width: 0;
  }
  100% {
    width: 1100px;
  }
}

.tupian-img {
  width: 1100px;
  height: 500px;
  /* margin-top:20px; */
}
.el-card {
  width: 100%;
  height: 500px;
}
.jianbian {
  height: 500px;
  width: 100%;
  /* margin: 0;
            padding: 0; */
  font-family: "montserrat";
  background-image: linear-gradient(
    45deg,
    #2c3e50,
    #27ae60,
    #2980b9,
    #e74c3c,
    #8e44ad
  );
  background-size: 400%;
  animation: bganimation 15s infinite;
  margin-top: -100px;
}
@keyframes bganimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
</style>

